// 该文件用于创建Vuex中核心的store
import Vuex from "vuex";
import Vue from "vue";
import countConfig from "@/store/count";
import personConfig from "@/store/person";

Vue.use(Vuex)

// 创建并暴露store
export default new Vuex.Store({
    modules: {
        countConfig,
        personConfig
    }
})